.TH std::swap(std::any) 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::swap(std::any) \- std::swap(std::any)

.SH Synopsis
   Defined in header <any>
   void swap( any& lhs, any& rhs ) noexcept;  \fI(since C++17)\fP

   Overloads the std::swap algorithm for std::any. Swaps the content of two any objects
   by calling lhs.swap(rhs).

.SH Parameters

   lhs, rhs - objects to swap

.SH Return value

   \fI(none)\fP

.SH See also

   swap swaps two any objects
        \fI(public member function)\fP
